[paket]
tanim   = Çizgi romanları işlemek için özel olarak tasarlanmış, kullanıcı dostu, özelleştirilebilir bir resim görüntüleyici
paketci = Cihan_Alkan
grup 	= grafik
url     = https://github.com/multiSnow/mcomix3

[kaynak]
git      = https://github.com/multiSnow/mcomix3
1 = https://notabug.org/aylinux/ceviriler/raw/master/mcomix.mo

[sha256]

[derle]
betik   = cd mcomix3
betik   = python installer.py --srcdir=mcomix --target="${PKG}"/usr/share
betik   = install -dm755 "$PKG"/usr/bin
betik   = ln -s /usr/share/mcomix/mcomixstarter.py "$PKG"/usr/bin/mcomix
betik   = ln -s /usr/share/mcomix/comicthumb.py "$PKG"/usr/bin/comicthumb
betik   = install -Dm644 mime/mcomix.desktop "$PKG"/usr/share/applications/mcomix.desktop
betik   = install -Dm644 mime/mcomix.appdata.xml "$PKG"/usr/share/metainfo/mcomix.appdata.xml
betik   = install -Dm644 mime/comicthumb.thumbnailer "$PKG"/usr/share/thumbnailers/comicthumb.thumbnailer
betik   = install -dm755 "$PKG"/usr/share/icons/hicolor/16x16/apps/
betik   = install -Dm644 mcomix/mcomix/images/16x16/mcomix.png "$PKG"/usr/share/icons/hicolor/16x16/apps/mcomix.png
betik   = install -Dm644 mime/icons/16x16/application-x-cb7.png "$PKG"/usr/share/icons/hicolor/16x16/mimetypes/application-x-cb7.png
betik   = install -Dm644 mime/icons/16x16/application-x-cbt.png "$PKG"/usr/share/icons/hicolor/16x16/mimetypes/application-x-cbt.png
betik   = install -dm755 "$PKG"/usr/share/icons/hicolor/22x22/apps/
betik   = install -Dm644 mcomix/mcomix/images/22x22/mcomix.png "$pkgdir"/usr/share/icons/hicolor/22x22/apps/mcomix.png
betik   = install -Dm644 mime/icons/22x22/application-x-cb7.png "$pkgdir"/usr/share/icons/hicolor/22x22/mimetypes/application-x-cb7.png
betik   = install -Dm644 mime/icons/22x22/application-x-cbt.png "$pkgdir"/usr/share/icons/hicolor/22x22/mimetypes/application-x-cbt.png
betik   = install -dm755 "$PKG"/usr/share/icons/hicolor/24x24/apps/
betik   = install -Dm644 mcomix/mcomix/images/24x24/mcomix.png "$PKG"/usr/share/icons/hicolor/24x24/apps/mcomix.png
betik   = install -Dm644 mime/icons/24x24/application-x-cb7.png "$PKG"/usr/share/icons/hicolor/24x24/mimetypes/application-x-cb7.png
betik   = install -Dm644 mime/icons/24x24/application-x-cbt.png "$PKG"/usr/share/icons/hicolor/24x24/mimetypes/application-x-cbt.png
betik   = install -dm755 "$PKG"/usr/share/icons/hicolor/32x32/apps/
betik   = install -Dm644 mcomix/mcomix/images/32x32/mcomix.png "$PKG"/usr/share/icons/hicolor/32x32/apps/mcomix.png
betik   = install -Dm644 mime/icons/32x32/application-x-cb7.png "$PKG"/usr/share/icons/hicolor/32x32/mimetypes/application-x-cb7.png
betik   = install -Dm644 mime/icons/32x32/application-x-cbt.png "$PKG"/usr/share/icons/hicolor/32x32/mimetypes/application-x-cbt.png
betik   = install -dm755 "$PKG"/usr/share/icons/hicolor/48x48/apps/
betik   = install -Dm644 mcomix/mcomix/images/48x48/mcomix.png "$PKG"/usr/share/icons/hicolor/48x48/apps/mcomix.png
betik   = install -Dm644 mime/icons/48x48/application-x-cb7.png "$PKG"/usr/share/icons/hicolor/48x48/mimetypes/application-x-cb7.png
betik   = install -Dm644 mime/icons/48x48/application-x-cbt.png "$PKG"/usr/share/icons/hicolor/48x48/mimetypes/application-x-cbt.png

[pakur]
betik   = mkdir -p $PKG//usr/share/mcomix/mcomix/messages/tr/LC_MESSAGES
betik = cp /sources/mcomix.mo $PKG//usr/share/mcomix/mcomix/messages/tr/LC_MESSAGES/mcomix.mo
